package com.lucker.service.mail;

import com.lucker.service.model.Mail;

public interface MailService {
	//https://blog.csdn.net/chaozhuanyi2927/article/details/80450710
	
	public boolean sendMail(String receive, String subject, String msg, String filename) throws Exception ;
	
	
	
	public boolean sendMail(Mail mail) throws Exception;
	
	/***
	 *  异步发送邮件
	 * @param mail
	 * @return
	 * @throws Exception
	 */
	public void asynchronousSendMail(Mail mail) throws Exception;
	//
	
	
	
}
